package com.xbs.controller.backstage;


import java.io.IOException;
import java.util.List;

import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import com.xbs.controller.base.BaseServlet;
import com.xbs.entity.EnterpriseOrderEntity;
import com.xbs.service.enterprise.EpOrderAdminService;

/**
 * 门店分店管理
 * @author Administrator
 *
 */
@WebServlet("/backstage/enterpriseOrder")
public class EnterpriseOrderServlet extends BaseServlet {

	@Override
	protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
		EpOrderAdminService service=new EpOrderAdminService();
		List<EnterpriseOrderEntity> orders=service.getTodayOrder();
		req.setAttribute("ods", orders);
		forward("admin/basicSetting/llp_enterpriseOrder");
	}
	
	@Override
	protected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
	
		super.doPost(req, resp);
	}
}
